const path = require('path')

module.exports = [
  {
    input: "src/index.js",
    output: {
      file: path.join(__dirname, './dist/monitor.js'),
      format: "iife",
      name: 'monitor'
    },
  },
  {
    input: "src/index.js",
    output: {
      file: path.join(__dirname, './dist/monitor.esm.js'),
      format: "esm",
      name: 'monitor'
    }
  }

]
  
